3.1.68 \(\int (f x)^{-1-n} \log (c (d+e x^n)^p) \, dx\) [68]

Optimal. Leaf size=80 \[ \frac {e p x^n (f x)^{-n} \log (x)}{d f}-\frac {e p x^n (f x)^{-n} \log \left (d+e x^n\right )}{d f n}-\frac {(f x)^{-n} \log \left (c \left (d+e x^n\right )^p\right )}{f n} \]

[Out]

e*p*x^n*ln(x)/d/f/((f*x)^n)-e*p*x^n*ln(d+e*x^n)/d/f/n/((f*x)^n)-ln(c*(d+e*x^n)^p)/f/n/((f*x)^n)

________________________________________________________________________________________

Rubi [A]
time = 0.02, antiderivative size = 80, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 6, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.273, Rules used = {2505, 19, 272, 36, 29, 31} \begin {gather*} -\frac {(f x)^{-n} \log \left (c \left (d+e x^n\right )^p\right )}{f n}+\frac {e p x^n \log (x) (f x)^{-n}}{d f}-\frac {e p x^n (f x)^{-n} \log \left (d+e x^n\right )}{d f n} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(f*x)^(-1 - n)*Log[c*(d + e*x^n)^p],x]

[Out]

(e*p*x^n*Log[x])/(d*f*(f*x)^n) - (e*p*x^n*Log[d + e*x^n])/(d*f*n*(f*x)^n) - Log[c*(d + e*x^n)^p]/(f*n*(f*x)^n)

Rule 19

Int[(u_.)*((a_.)*(v_))^(m_)*((b_.)*(v_))^(n_), x_Symbol] :> Dist[a^(m + n)*((b*v)^n/(a*v)^n), Int[u*v^(m + n),
 x], x] /; FreeQ[{a, b, m, n}, x] &&  !IntegerQ[m] &&  !IntegerQ[n] && IntegerQ[m + n]

Rule 29

Int[(x_)^(-1), x_Symbol] :> Simp[Log[x], x]

Rule 31

Int[((a_) + (b_.)*(x_))^(-1), x_Symbol] :> Simp[Log[RemoveContent[a + b*x, x]]/b, x] /; FreeQ[{a, b}, x]

Rule 36

Int[1/(((a_.) + (b_.)*(x_))*((c_.) + (d_.)*(x_))), x_Symbol] :> Dist[b/(b*c - a*d), Int[1/(a + b*x), x], x] -
Dist[d/(b*c - a*d), Int[1/(c + d*x), x], x] /; FreeQ[{a, b, c, d}, x] && NeQ[b*c - a*d, 0]

Rule 272

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Dist[1/n, Subst[Int[x^(Simplify[(m + 1)/n] - 1)*(a
+ b*x)^p, x], x, x^n], x] /; FreeQ[{a, b, m, n, p}, x] && IntegerQ[Simplify[(m + 1)/n]]

Rule 2505

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_)^(n_))^(p_.)]*(b_.))*((f_.)*(x_))^(m_.), x_Symbol] :> Simp[(f*x)^(m +
 1)*((a + b*Log[c*(d + e*x^n)^p])/(f*(m + 1))), x] - Dist[b*e*n*(p/(f*(m + 1))), Int[x^(n - 1)*((f*x)^(m + 1)/
(d + e*x^n)), x], x] /; FreeQ[{a, b, c, d, e, f, m, n, p}, x] && NeQ[m, -1]

Rubi steps

\begin {align*} \int (f x)^{-1-n} \log \left (c \left (d+e x^n\right )^p\right ) \, dx &=-\frac {(f x)^{-n} \log \left (c \left (d+e x^n\right )^p\right )}{f n}+\frac {(e p) \int \frac {x^{-1+n} (f x)^{-n}}{d+e x^n} \, dx}{f}\\ &=-\frac {(f x)^{-n} \log \left (c \left (d+e x^n\right )^p\right )}{f n}+\frac {\left (e p x^n (f x)^{-n}\right ) \int \frac {1}{x \left (d+e x^n\right )} \, dx}{f}\\ &=-\frac {(f x)^{-n} \log \left (c \left (d+e x^n\right )^p\right )}{f n}+\frac {\left (e p x^n (f x)^{-n}\right ) \text {Subst}\left (\int \frac {1}{x (d+e x)} \, dx,x,x^n\right )}{f n}\\ &=-\frac {(f x)^{-n} \log \left (c \left (d+e x^n\right )^p\right )}{f n}+\frac {\left (e p x^n (f x)^{-n}\right ) \text {Subst}\left (\int \frac {1}{x} \, dx,x,x^n\right )}{d f n}-\frac {\left (e^2 p x^n (f x)^{-n}\right ) \text {Subst}\left (\int \frac {1}{d+e x} \, dx,x,x^n\right )}{d f n}\\ &=\frac {e p x^n (f x)^{-n} \log (x)}{d f}-\frac {e p x^n (f x)^{-n} \log \left (d+e x^n\right )}{d f n}-\frac {(f x)^{-n} \log \left (c \left (d+e x^n\right )^p\right )}{f n}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.01, size = 57, normalized size = 0.71 \begin {gather*} -\frac {(f x)^{-n} \left (-e n p x^n \log (x)+e p x^n \log \left (d+e x^n\right )+d \log \left (c \left (d+e x^n\right )^p\right )\right )}{d f n} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(f*x)^(-1 - n)*Log[c*(d + e*x^n)^p],x]

[Out]

-((-(e*n*p*x^n*Log[x]) + e*p*x^n*Log[d + e*x^n] + d*Log[c*(d + e*x^n)^p])/(d*f*n*(f*x)^n))

________________________________________________________________________________________

Maple [F]
time = 0.06, size = 0, normalized size = 0.00 \[\int \left (f x \right )^{-1-n} \ln \left (c \left (d +e \,x^{n}\right )^{p}\right )\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((f*x)^(-1-n)*ln(c*(d+e*x^n)^p),x)

[Out]

int((f*x)^(-1-n)*ln(c*(d+e*x^n)^p),x)

________________________________________________________________________________________

Maxima [A]
time = 0.28, size = 71, normalized size = 0.89 \begin {gather*} \frac {e p {\left (\frac {\log \left (x\right )}{d f^{n}} - \frac {\log \left (\frac {e x^{n} + d}{e}\right )}{d f^{n} n}\right )}}{f} - \frac {\log \left ({\left (e x^{n} + d\right )}^{p} c\right )}{\left (f x\right )^{n} f n} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((f*x)^(-1-n)*log(c*(d+e*x^n)^p),x, algorithm="maxima")

[Out]

e*p*(log(x)/(d*f^n) - log((e*x^n + d)/e)/(d*f^n*n))/f - log((e*x^n + d)^p*c)/((f*x)^n*f*n)

________________________________________________________________________________________

Fricas [A]
time = 0.39, size = 78, normalized size = 0.98 \begin {gather*} \frac {f^{-n - 1} n p x^{n} e \log \left (x\right ) - d f^{-n - 1} \log \left (c\right ) - {\left (f^{-n - 1} p x^{n} e + d f^{-n - 1} p\right )} \log \left (x^{n} e + d\right )}{d n x^{n}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((f*x)^(-1-n)*log(c*(d+e*x^n)^p),x, algorithm="fricas")

[Out]

(f^(-n - 1)*n*p*x^n*e*log(x) - d*f^(-n - 1)*log(c) - (f^(-n - 1)*p*x^n*e + d*f^(-n - 1)*p)*log(x^n*e + d))/(d*
n*x^n)

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (f x\right )^{- n - 1} \log {\left (c \left (d + e x^{n}\right )^{p} \right )}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((f*x)**(-1-n)*ln(c*(d+e*x**n)**p),x)

[Out]

Integral((f*x)**(-n - 1)*log(c*(d + e*x**n)**p), x)

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((f*x)^(-1-n)*log(c*(d+e*x^n)^p),x, algorithm="giac")

[Out]

integrate((f*x)^(-n - 1)*log((x^n*e + d)^p*c), x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {\ln \left (c\,{\left (d+e\,x^n\right )}^p\right )}{{\left (f\,x\right )}^{n+1}} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(log(c*(d + e*x^n)^p)/(f*x)^(n + 1),x)

[Out]

int(log(c*(d + e*x^n)^p)/(f*x)^(n + 1), x)

________________________________________________________________________________________